* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: #06121c;
}

.page {
  min-height: 100vh;
  padding: 18px 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../assets/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.card {
  width: min(100%, 360px);
  min-height: 470px;
  padding: 46px 30px 32px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  background: linear-gradient(180deg, #238fcb 0%, #146891 100%);
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
  color: #fff;
}

h1 {
  margin: 0;
  text-align: center;
  color: #ffbf00;
  font-size: clamp(28px, 8vw, 36px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.8px;
  text-shadow: 0 2px 0 rgba(0,0,0,.08);
}

.divider {
  height: 2px;
  width: 100%;
  margin: 24px 0 28px;
  background: #d8a600;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 15px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,.96);
  color: #17364a;
  font-size: 16px;
}

input:focus {
  border-color: #ffd24a;
  box-shadow: 0 0 0 3px rgba(255,210,74,.2);
}

button {
  width: 100%;
  height: 50px;
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  background: #ffbd00;
  color: #143041;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

button:hover { filter: brightness(1.04); }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: .75; }

.error {
  min-height: 18px;
  margin: -2px 0 0;
  color: #ffd1d1;
  font-size: 13px;
}

.status {
  min-height: 24px;
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .page { padding: 12px 16px 24px; }
  .card { min-height: 500px; padding: 40px 26px 28px; }
}
